package ht.domain;

/**
 * Created by yanlin on 2017/12/1.
 */
public class FormulaShow extends Formula{
    private String data_source;

    public FormulaShow(String data_source) {
        this.data_source = data_source;
    }

    public FormulaShow(Formula formula, String data_source) {
        super(formula.getParam_id(), formula.getParam_nm(), formula.getData_source_id(), formula.getDyzd());
        this.data_source = data_source;
    }

    public String getData_source() {
        return data_source;
    }

    public void setData_source(String data_source) {
        this.data_source = data_source;
    }

    @Override
    public String toString() {
        return "FormulaShow{" +
                "data_source='" + data_source + '\'' +
                super.toString()+
                '}';
    }
}
